package org.grow.secure.data;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: xwg
 * @CreateDate: 2022/5/30
 */

@ConfigurationProperties(prefix = "secure.boot")
public class SecureProperties {
    /**
     * 启动匿名用户访问，访问名默认是anonymousUser，用于开发环境
     * */
    private Boolean enableAnonymous = true;
    /**
     * 随意值默认是什么？
     * */
    private Integer some = 1;

    public Boolean getEnableAnonymous() {
        return enableAnonymous;
    }

    public void setEnableAnonymous(Boolean enableAnonymous) {
        this.enableAnonymous = enableAnonymous;
    }

    public Integer getSome() {
        return some;
    }

    public void setSome(Integer some) {
        this.some = some;
    }
}
